package com.taxsearch.service.linsa;

import java.util.HashMap;

import javax.annotation.Resource;

import com.taxsearch.dao.linsa.UpdateRoomCheckinMapper;
import org.springframework.stereotype.Service;


@Service
public class UpdateRoomCheckinService {
	@Resource
	private UpdateRoomCheckinMapper updateRoomCheckinMapper;
	
	//根据房号查询房费
	public String selectRoomMoney(HashMap<String,Object> map){
		return updateRoomCheckinMapper.selectRoomMoney(map);
	}
	
	//根据名族编码查询名族
	public String selectMinZu(String str){
		return updateRoomCheckinMapper.selectMinZu(str);
	}
	
	//查询境内入住信息
	public HashMap<String,Object> selectCheckin(String str){
		return updateRoomCheckinMapper.selectCheckin(str);
	}
	
	//查询境外入住信息
	public HashMap<String,Object> selectCheckinF(String str){
		return updateRoomCheckinMapper.selectCheckinF(str);
	}
	
	//更新境内入住信息
	public int updateCheckIn(HashMap<String,Object> map){
		return updateRoomCheckinMapper.updateCheckIn(map);
	}
	
	//更新境外入住信息
	public int updateCheckInF(HashMap<String,Object> map){
		return updateRoomCheckinMapper.updateCheckInF(map);
	}
	
}
